package cn.heycm.blog.console.domain.admin.service;

import cn.heycm.blog.common.entity.session.Session;
import cn.heycm.blog.console.domain.admin.model.Administrator;

/**
 * Admin 领域服务
 *
 * @author hey
 * @version 1.0
 * @since 2024/9/15 18:58
 */
public interface AdminService {

    Administrator findAdministrator(String phoneId);

    void sendVerifyCode(Administrator administrator);

    void checkVerifyCode(Administrator administrator, String verifyCode);

    Session login(Administrator administrator, String verifyCode);
}
